<?php

namespace App;

use Illuminate\Database\Eloquent\Model;
use Illuminate\Database\Eloquent\SoftDeletes;

/**
 * App\UserBalanceRecord
 *
 * @property int $id
 * @property int $user_id 用户id
 * @property int $secondary_user_id 二级用户id
 * @property string|null $order_num 订单编号
 * @property float $income_balance 收益的余额
 * @property string|null $deleted_at
 * @property \Carbon\Carbon|null $created_at
 * @property \Carbon\Carbon|null $updated_at
 * @method static bool|null forceDelete()
 * @method static \Illuminate\Database\Query\Builder|\App\UserBalanceRecord onlyTrashed()
 * @method static bool|null restore()
 * @method static \Illuminate\Database\Eloquent\Builder|\App\UserBalanceRecord whereCreatedAt($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\UserBalanceRecord whereDeletedAt($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\UserBalanceRecord whereId($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\UserBalanceRecord whereIncomeBalance($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\UserBalanceRecord whereOrderNum($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\UserBalanceRecord whereSecondaryUserId($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\UserBalanceRecord whereUpdatedAt($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\UserBalanceRecord whereUserId($value)
 * @method static \Illuminate\Database\Query\Builder|\App\UserBalanceRecord withTrashed()
 * @method static \Illuminate\Database\Query\Builder|\App\UserBalanceRecord withoutTrashed()
 * @mixin \Eloquent
 */
class UserBalanceRecord extends Model
{
    protected $table = "user_balance_record";
    use SoftDeletes;
}
